import java.io.Serializable;

/**
 * represents a resource in a game of mule
 * @author Sherman
 *
 */
public class Resource implements Serializable {
	
	//the name of the resource type
	private String resource;
	
	/**
	 * creates an instance of a resource
	 * @param resource the name of the resource
	 */
	public Resource(String resource){
		this.resource = resource;
	}
	
	/**
	 * the name of the resource
	 * @return resource name
	 */
	public String getResource(){
		return resource;
	}
}
